import { createApp } from "vue"
import { createMemoryHistory, createRouter } from 'vue-router'
// import App from "./div.vue"
import App from "./App.vue"
import HomeView from './HomeView.vue'
import AboutView from './AboutView.vue'

const routes = [
    { path: '/', component: HomeView },
    { path: '/about', component: AboutView },
];

const router = createRouter({
    history: createMemoryHistory(),
    routes,
});

const app = createApp(App);
app.use(router);
app.mount(document.windowElement);
